<script lang="ts" setup>
  import { ref } from 'vue';
  import Divider from '@sscd/divider';
  import Steps from '@sscd/steps';
  const current = ref<number>(0);
</script>

<template>
  <div class="demo">
    <div class="demo-title">可点击</div>
    <div class="demo-content">
      <Steps v-model:current="current">
        <Steps.Step title="Step 1" description="This is a description." />
        <Steps.Step title="Step 2" description="This is a description." />
        <Steps.Step title="Step 3" description="This is a description." />
      </Steps>
      <Divider />
      <Steps v-model:current="current" direction="vertical">
        <Steps.Step title="Step 1" description="This is a description." />
        <Steps.Step title="Step 2" description="This is a description." />
        <Steps.Step title="Step 3" description="This is a description." />
      </Steps>
    </div>
  </div>
</template>